import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {AfterSaleManagementComponent} from './after-sale-management.component';

const routes: Routes = [
    {path: '', component: AfterSaleManagementComponent,
        children: [
            {path: '', redirectTo: 'aft-apply-order', pathMatch: 'full'},
            // this line is use for generator path, don't remove
            {path: 'aft-apply-order-line', loadChildren: './aft-apply-order-line/aft-apply-order-line.module#AftApplyOrderLineModule'},
            {path: 'aft-work-order', loadChildren: './aft-work-order/aft-work-order.module#AftWorkOrderModule'},
            {path: 'aft-apply-order', loadChildren: './aft-apply-order/aft-apply-order.module#AftApplyOrderModule'},
        ]
    }
];
@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class AfterSaleManagementRoutingModule {
}
